package cn.com.xf.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.xf.dao.TbsecuritycheckDao;
import cn.com.xf.domain.Tbsecuritycheck;
import cn.com.xf.service.TbsecuritycheckService;

@Service("tbsecuritycheckService")
public class TbsecuritycheckServiceImpl implements TbsecuritycheckService {
	
	@Autowired
    private TbsecuritycheckDao tbsecuritycheckDao;

	@Override
	public int insertBatch(List<Tbsecuritycheck> list) {
		
		return tbsecuritycheckDao.insertBatch(list);
	}

	@Override
	public int selectCount(String scandate, String scanclass,String entersite) {
	
		return tbsecuritycheckDao.selectCount(scandate, scanclass,entersite);
	}

	@Override
	public void insert(Tbsecuritycheck tb) {
		tbsecuritycheckDao.insert(tb);
	}

}
